package com.lonely.goods.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lonely.common.core.domain.BaseEntity;
import com.lonely.goods.enums.GoodsEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @author 黄志标
 * @date 2025-07-02 10:44
 * @Description: 商品二次工艺表
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_goods_second_process")
public class SysGoodsSecondProcess extends BaseEntity implements Serializable {

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 部件id
     */
    private Long goodsPartId;

    /**
     * 二次工艺名称
     */
    private String processName;

    /**
     * 供应商
     */
    private String supplierName;

    /**
     * 单价
     */
    private String unitPrice;

    /**
     * 用量
     */
    private String simpleUse;

    /**
     * 类型
     *
     * @see GoodsEnum.GoodsSecondProcessTypeEnum
     */
    private Integer type;

}
